package com.huifaapp.mall.bean;

import java.util.List;

/**
 * Created by Administrator on 2017/12/28.
 */

public class DetailsPayShoppingCart {
    /**
     * msg : 请求成功！
     * code : 10000
     * data : {"points":0,"pointsAmount":0,"couponAmount":0,"count":1,"goodsList":[{"goodsImg":"http://file.jhjvip.cn/images/default.jpg","goodsName":"山婆婆 黄桃水罐头","price":25,"orginPrice":18.8,"param":{"color":"white","brand":"泡泡堂"},"count":1}]}
     */

    private String msg;
    private String code;
    private DataBean data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * points : 0
         * pointsAmount : 0.0
         * couponAmount : 0.0
         * count : 1
         * goodsList : [{"goodsImg":"http://file.jhjvip.cn/images/default.jpg","goodsName":"山婆婆 黄桃水罐头","price":25,"orginPrice":18.8,"param":{"color":"white","brand":"泡泡堂"},"count":1}]
         */

        private int points;
        private double pointsAmount;
        private double couponAmount;
        private int count;
        private List<GoodsListBean> goodsList;

        public int getPoints() {
            return points;
        }

        public void setPoints(int points) {
            this.points = points;
        }

        public double getPointsAmount() {
            return pointsAmount;
        }

        public void setPointsAmount(double pointsAmount) {
            this.pointsAmount = pointsAmount;
        }

        public double getCouponAmount() {
            return couponAmount;
        }

        public void setCouponAmount(double couponAmount) {
            this.couponAmount = couponAmount;
        }

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public List<GoodsListBean> getGoodsList() {
            return goodsList;
        }

        public void setGoodsList(List<GoodsListBean> goodsList) {
            this.goodsList = goodsList;
        }

        public static class GoodsListBean {
            /**
             * goodsImg : http://file.jhjvip.cn/images/default.jpg
             * goodsName : 山婆婆 黄桃水罐头
             * price : 25.0
             * orginPrice : 18.8
             * param : {"color":"white","brand":"泡泡堂"}
             * count : 1
             */

            private String goodsImg;
            private String goodsName;
            private double price;
            private double orginPrice;
            private ParamBean param;
            private int count;

            public String getGoodsImg() {
                return goodsImg;
            }

            public void setGoodsImg(String goodsImg) {
                this.goodsImg = goodsImg;
            }

            public String getGoodsName() {
                return goodsName;
            }

            public void setGoodsName(String goodsName) {
                this.goodsName = goodsName;
            }

            public double getPrice() {
                return price;
            }

            public void setPrice(double price) {
                this.price = price;
            }

            public double getOrginPrice() {
                return orginPrice;
            }

            public void setOrginPrice(double orginPrice) {
                this.orginPrice = orginPrice;
            }

            public ParamBean getParam() {
                return param;
            }

            public void setParam(ParamBean param) {
                this.param = param;
            }

            public int getCount() {
                return count;
            }

            public void setCount(int count) {
                this.count = count;
            }

            public static class ParamBean {
                /**
                 * color : white
                 * brand : 泡泡堂
                 */

                private String color;
                private String brand;

                public String getColor() {
                    return color;
                }

                public void setColor(String color) {
                    this.color = color;
                }

                public String getBrand() {
                    return brand;
                }

                public void setBrand(String brand) {
                    this.brand = brand;
                }
            }
        }
    }


//    /**
//     * listgoods : [{"goodsImg":"http://file.jhjvip.cn/images/default.jpg","goodsName":"山婆婆 黄桃水罐头","price":25,"orginPrice":18.8,"param":{"color":"white","brand":"泡泡堂"},"count":2},{"goodsImg":"http://file.jhjvip.cn/images/default.jpg","goodsName":"盼盼蛋糕","price":25,"orginPrice":21,"param":{"color":"yellow","size":"xxl"},"count":2}]
//     * msg : 请求成功！
//     * couponAmount : 10.0
//     * code : 10000
//     * pointsAmount : 1000.0
//     * points : 1000
//     */
//
//    private String msg;
//    private double couponAmount;
//    private String code;
//    private double pointsAmount;
//    private int points;
//    private List<ListgoodsBean> listgoods;
//
//    public String getMsg() {
//        return msg;
//    }
//
//    public void setMsg(String msg) {
//        this.msg = msg;
//    }
//
//    public double getCouponAmount() {
//        return couponAmount;
//    }
//
//    public void setCouponAmount(double couponAmount) {
//        this.couponAmount = couponAmount;
//    }
//
//    public String getCode() {
//        return code;
//    }
//
//    public void setCode(String code) {
//        this.code = code;
//    }
//
//    public double getPointsAmount() {
//        return pointsAmount;
//    }
//
//    public void setPointsAmount(double pointsAmount) {
//        this.pointsAmount = pointsAmount;
//    }
//
//    public int getPoints() {
//        return points;
//    }
//
//    public void setPoints(int points) {
//        this.points = points;
//    }
//
//    public List<ListgoodsBean> getListgoods() {
//        return listgoods;
//    }
//
//    public void setListgoods(List<ListgoodsBean> listgoods) {
//        this.listgoods = listgoods;
//    }
//
//    public static class ListgoodsBean {
//        /**
//         * goodsImg : http://file.jhjvip.cn/images/default.jpg
//         * goodsName : 山婆婆 黄桃水罐头
//         * price : 25.0
//         * orginPrice : 18.8
//         * param : {"color":"white","brand":"泡泡堂"}
//         * count : 2
//         */
//
//        private String goodsImg;
//        private String goodsName;
//        private double price;
//        private double orginPrice;
//        private ParamBean param;
//        private int count;
//
//        public String getGoodsImg() {
//            return goodsImg;
//        }
//
//        public void setGoodsImg(String goodsImg) {
//            this.goodsImg = goodsImg;
//        }
//
//        public String getGoodsName() {
//            return goodsName;
//        }
//
//        public void setGoodsName(String goodsName) {
//            this.goodsName = goodsName;
//        }
//
//        public double getPrice() {
//            return price;
//        }
//
//        public void setPrice(double price) {
//            this.price = price;
//        }
//
//        public double getOrginPrice() {
//            return orginPrice;
//        }
//
//        public void setOrginPrice(double orginPrice) {
//            this.orginPrice = orginPrice;
//        }
//
//        public ParamBean getParam() {
//            return param;
//        }
//
//        public void setParam(ParamBean param) {
//            this.param = param;
//        }
//
//        public int getCount() {
//            return count;
//        }
//
//        public void setCount(int count) {
//            this.count = count;
//        }
//
//        public static class ParamBean {
//            /**
//             * color : white
//             * brand : 泡泡堂
//             */
//
//            private String color;
//            private String brand;
//
//            public String getColor() {
//                return color;
//            }
//
//            public void setColor(String color) {
//                this.color = color;
//            }
//
//            public String getBrand() {
//                return brand;
//            }
//
//            public void setBrand(String brand) {
//                this.brand = brand;
//            }
//        }
//    }
}
